package com.epfly.iface.promo.activity.vo;

import com.epfly.base.vo.BaseReq;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DiscountInVo extends BaseReq {

    /**
     * 商户ID
     */
    private String merchantId;

    /**
     * 档口ID
     */
    @NotEmpty(message = "档口ID不能为空")
    private String storeId;

    /**
     * 用户ID
     */
    @NotEmpty(message = "用户ID不能为空")
    private String userID;


    /**
     * 实付金额
     */
    @NotNull(message = "实付金额不能为空")
    private BigDecimal payAmount;

    /**
     * 订单时间
     */
    @NotNull(message = "订单时间不能为空")
    private Long orderTime;

    /**
     * 下单方式:1.绑盘;2.后支付;3.点餐;4.视觉识别;5.预定;
     */
    @NotNull(message = "下单方式不能为空")
    private Byte orderMethod;

    /**
     * 取餐方式:1.堂食;2.配送;3.自提
     */
    private Byte takeMethod;

    /**
     * 菜品ID列表
     */
    @NotEmpty(message = "菜品ID列表不能为空")
    private List<String> foodIdList;


}
